package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;
@TableName("farmInfo")
@Data

public class FarmInfo {
   // private Integer id;
    @MppMultiId//设置主键
    //农场编号
    private Integer farmId;
    //农场名字
    private String farmName;
    //农场电话
    private String farmTel;
    //农场地址
    private String farmLocation;
    //农场经营产品
    private String farmProduct;
    //农场简介
    private String farmProfile;
    @MppMultiId
    private Integer tenantId;
    public FarmInfo( Integer farmId, String farmName, String farmTel, String farmLocation, String farmProduct, String farmProfile, Integer tenantId) {
       // this.id = id;
        this.farmId = farmId;
        this.farmName = farmName;
        this.farmTel = farmTel;
        this.farmLocation = farmLocation;
        this.farmProduct = farmProduct;
        this.farmProfile = farmProfile;
        this.tenantId = tenantId;
    }

    public FarmInfo() {

    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }


   /* public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }*/

    public Integer getFarmId() {
        return farmId;
    }

    public void setFarmId(Integer farmId) {
        this.farmId = farmId;
    }

    public String getFarmName() {
        return farmName;
    }

    public void setFarmName(String farmName) {
        this.farmName = farmName;
    }

    public String getFarmTel() {
        return farmTel;
    }

    public void setFarmTel(String farmTel) {
        this.farmTel = farmTel;
    }

    public String getFarmLocation() {
        return farmLocation;
    }

    public void setFarmLocation(String farmLocation) {
        this.farmLocation = farmLocation;
    }

    public String getFarmProduct() {
        return farmProduct;
    }

    public void setFarmProduct(String farmProduct) {
        this.farmProduct = farmProduct;
    }

    public String getFarmProfile() {
        return farmProfile;
    }

    public void setFarmProfile(String farmProfile) {
        this.farmProfile = farmProfile;
    }


}
